<?php
	$html->addCrumb('Manager','/manager/');
	$html->addCrumb('Meldung anlegen','/manager/notices/add');
	
	echo  $this->element('tasks',array('target'=>'/manager/notices'));
?>
<div class="title">Meldung anlegen</div>

<?php echo $this->element('flashMessage') ?>

<?php 
	echo $this->Form->create('Notice',array('action'=>'add','class'=>'form'));
	
	echo $this->Form->input('record_date', array('label'=>'Datum','type'=>'text','readonly'=>'readonly'));
	echo $this->Form->input('students_quantity', array('label'=>'Anzahl Stud.*'));
	echo $this->Form->input('state_id', array('label'=>'Status'));
	echo $this->Form->input('study_branch_id', array('label'=>'Studienrichtung'));
	echo $this->Form->input('company_id', array('label'=>'Unternehmen'));
	echo $this->Form->input('free_text', array('label'=>'Notiz','type'=>'textarea'));
	
	echo '<div class="form_div_buttons">';
	echo '<input type="submit" name="Speichern" value="Speichern">';
	echo '<a href="'.URL_PREFIX.'/manager/notices/"><button>Abbrechen</button></a>';
	echo '<a href="'.URL_PREFIX.'/manager/notices/"><button>Fertig</button></a>';
	echo '</div>';
	
	
	echo $this->Form->end();
?>